﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="YJTJFC.aspx.cs" Inherits="WXYW.YJTJFC" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
预警统计 - 按返厂维修周期
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
<table width="100%" border="1px" style="border-collapse: collapse; border-color: Gray">
        <tr style="height: 25px">
            <td colspan="6"><asp:DropDownList ID="YearDDL" runat="server"></asp:DropDownList>年<asp:DropDownList ID="MonthDDL" runat="server"></asp:DropDownList>月
                <asp:Button ID="OKBtn" runat="server" Text="统计" Width="75px" 
                    onclick="OKBtn_Click" /></td>
        </tr>
        <tr style="height: 25px; text-align: center">
            <td style="background-color: Gray;">
                返厂周期
            </td>
            <td style="background-color: Gray;">
                平均周期
            </td>
            <td style="background-color: Gray;">
                达成平均周期
            </td>
            <td style="background-color: Gray;">
                未达成平均周期
            </td>
            <td style="background-color: Gray;">
                达成比例
            </td>
            <td style="background-color: Gray;">
                详细
            </td>
        </tr>
        <% foreach (YJModelBasedOnBJSQ model in YJModelList)
           {%>
        <tr style="height: 25px; text-align: center">
            <td>
                <%= model.Station %>
            </td>
            <td>
                <%= model.AverageDays %>
            </td>
            <td>
                <%= model.ReachAverageCount %>
            </td>
            <td>
                <%= model.NotReachAverageCount %>
            </td>
            <td>
                <%= model.RateOfReachAverage %>
            </td>
            <td>
                <img src="image/operateicon/docview.gif" alt="" />
                <a href='<%= GenerateURL(model.StationID) %>'>查看</a>
            </td>
        </tr>
        <%} %>
    </table>
</asp:Content>
